SERVER=server
CLIENT=client
CC=g++
SERVER_SRC=Server.cc
CLIENT_SRC=Client.cc

all: $(SERVER) $(CLIENT)

$(SERVER): $(SERVER_SRC)
	$(CC) -o $@ $^ -std=c++11 -Wall

$(CLIENT): $(CLIENT_SRC)
	$(CC) -o $@ $^ -std=c++11 -Wall

.PHONY: clean
clean:
	rm -f $(SERVER) $(CLIENT)